package com.zany.system.service;

import java.util.List;

import com.zany.system.dao.RoleResourcesDao;
import com.zany.system.vo.RoleResourcesVO;
import com.zany.system.vo.UserInfoVO;



public class RoleResourcesServiceImpl implements RoleResourcesService{

	private RoleResourcesDao roleResourcesDao;

	public RoleResourcesDao getRoleResourcesDao() {
		return roleResourcesDao;
	}

	public void setRoleResourcesDao(RoleResourcesDao roleResourcesDao) {
		this.roleResourcesDao = roleResourcesDao;
	}

	public Integer getResourcesCount(RoleResourcesVO vo) {
		// TODO Auto-generated method stub
		return roleResourcesDao.getResourcesCount(vo);
	}

	public List<RoleResourcesVO> getResourcesList(RoleResourcesVO vo) {
		// TODO Auto-generated method stub
		return roleResourcesDao.getResourcesList(vo);
	}

	public List<RoleResourcesVO> getTopCodeList() {
		// TODO Auto-generated method stub
		return roleResourcesDao.getTopCodeList();
	}

	public List<UserInfoVO> getRoleList() {
		// TODO Auto-generated method stub
		return roleResourcesDao.getRoleList();
	}

	public List<RoleResourcesVO> getRoleResourcesList(RoleResourcesVO vo) {
		// TODO Auto-generated method stub
		return roleResourcesDao.getRoleResourcesList(vo);
	}

	public Integer getRoleResourcesCount(RoleResourcesVO vo) {
		// TODO Auto-generated method stub
		return roleResourcesDao.getRoleResourcesCount(vo);
	}

	public RoleResourcesVO getRoleResources(RoleResourcesVO vo) {
		// TODO Auto-generated method stub
		return roleResourcesDao.getRoleResources(vo);
	}

	public RoleResourcesVO getTopRoleResources(RoleResourcesVO vo) {
		// TODO Auto-generated method stub
		return roleResourcesDao.getTopRoleResources(vo);
	}

	public void insertRoleResources(RoleResourcesVO vo) {
		// TODO Auto-generated method stub
		roleResourcesDao.insertRoleResources(vo);
	}

	public RoleResourcesVO getTopResources(RoleResourcesVO vo) {
		// TODO Auto-generated method stub
		return roleResourcesDao.getTopResources(vo);
	}

	public void dateleRoleResources(RoleResourcesVO vo) {
		// TODO Auto-generated method stub
		roleResourcesDao.dateleRoleResources(vo);
	}

	public Integer getRoleCount() {
		// TODO Auto-generated method stub
		return roleResourcesDao.getRoleCount();
	}

	public RoleResourcesVO getRoleInfo(RoleResourcesVO vo) {
		// TODO Auto-generated method stub
		return roleResourcesDao.getRoleInfo(vo);
	}

	public List<RoleResourcesVO> getRoleListPage(RoleResourcesVO vo) {
		// TODO Auto-generated method stub
		return roleResourcesDao.getRoleListPage(vo);
	}

	public void deleteRole(RoleResourcesVO vo) {
		// TODO Auto-generated method stub
		this.roleResourcesDao.deleteRole(vo);
	}

	public void insertRole(RoleResourcesVO vo) {
		// TODO Auto-generated method stub
		this.roleResourcesDao.insertRole(vo);	
	}

}
